//
// Created by sundae on 18-2-4.
//

#ifndef UNTITLED_MAIN_H
#define UNTITLED_MAIN_H

#endif //UNTITLED_MAIN_H

#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <vector>

using namespace std;
using namespace cv;

void toGrayTest();

void doCanny();

void doFindcontrours();

void thresh_callback(int,void*);

vector<int> hierarchyFilter(vector<Vec4i>);